data = [99, 22, 51, 63, 72, 61, 20, 88, 40, 
        21, 63, 30, 11, 18, 99, 12, 93, 16, 
        7, 53, 64, 9, 28, 84, 34, 96, 52, 82, 51, 77 ]

print(data)
res = 0

for i in range(len(data)):
    for j in range(i+1,len(data)):
        if data[i] * data[j] >= 2022:
            res+=1
# 答案 189
print(res)
